package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcTestInit;
import cn.besbing.model.entities.primary.NcTestInitExample;
import cn.besbing.model.mapper.primary.NcTestInitMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcTestInitServiceImpl implements NcTestInitMapper {
    
    @Autowired(required = false)
    NcTestInitMapper ncTestInitMapper;
    
    
    @Override
    public long countByExample(NcTestInitExample example) {
        return ncTestInitMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcTestInitExample example) {
        return ncTestInitMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkTestInit) {
        return ncTestInitMapper.deleteByPrimaryKey(pkTestInit);
    }

    @Override
    public int insert(NcTestInit record) {
        return ncTestInitMapper.insert(record);
    }

    @Override
    public int insertSelective(NcTestInit record) {
        return ncTestInitMapper.insertSelective(record);
    }

    @Override
    public List<NcTestInit> selectByExample(NcTestInitExample example) {
        return ncTestInitMapper.selectByExample(example);
    }

    @Override
    public NcTestInit selectByPrimaryKey(String pkTestInit) {
        return ncTestInitMapper.selectByPrimaryKey(pkTestInit);
    }

    @Override
    public int updateByExampleSelective(NcTestInit record, NcTestInitExample example) {
        return ncTestInitMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcTestInit record, NcTestInitExample example) {
        return ncTestInitMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcTestInit record) {
        return ncTestInitMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcTestInit record) {
        return ncTestInitMapper.updateByPrimaryKey(record);
    }
}
